Skip to content

General cleanup#32

Merged
BryceStevenWilley merged 3 commits into
mainfrom
general_cleanup
Nov 20, 2025
Merged

General cleanup#32
BryceStevenWilley merged 3 commits into
mainfrom
general_cleanup

Conversation

@BryceStevenWilley

Copy link
Copy Markdown
Contributor

This is starting from scratch on the db, so we'll need to delete / remake the one in supabase. Not sure exactly how, maybe we'll just have to get the connection info locally and run uv python runserver migrate --run-syncdb on our own machines to set it up.

  • Fix the context_processor so it actually does all of the jurisdiction config loading that it needs to
  • Make the UserProfile replace the default User database table / object
    • The user table will have just the info we can get from Tyler that doesn't change, like user GUID. Things that the user can change elsewhere and the tokens will be stored in session each time the user logs in.
  • Delete a lot of unused / duplicate functions.

@BryceStevenWilley BryceStevenWilley self-assigned this Nov 19, 2025
@BryceStevenWilley BryceStevenWilley added the refactor This is a code pattern that should be improved. label Nov 19, 2025
Get it to use a general `get_jurisdiction_from_request`, instead
of assuming it will always be in the session data.
De-duping random functions like Jurisdiction get and auth tokens
@BryceStevenWilley
BryceStevenWilley marked this pull request as ready for review November 20, 2025 14:44
@BryceStevenWilley
BryceStevenWilley merged commit 94acd8c into main Nov 20, 2025
7 checks passed
@BryceStevenWilley
BryceStevenWilley deleted the general_cleanup branch November 20, 2025 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor This is a code pattern that should be improved.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant